package hlhj.fhp.supreme.javabean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by Administrator on 2018\4\18 0018.
 */

public class ReadListBean {

    /**
     * code : 1
     * msg : 操作成功
     * data : [{"id":16,"name":"遗鸥","data":[{"id":1,"title":"读书嘛","img":"http://p6v1jnan6.bkt.clouddn.com/FsiDl41m-gazXvfN5Xtta9dByTJT","create_time":0}]},{"id":20,"name":"单独","data":[{"id":2,"title":"是是是","img":"http://p6v1jnan6.bkt.clouddn.com/FsiDl41m-gazXvfN5Xtta9dByTJT","create_time":0}]}]
     */

    private int code;
    private String msg;
    private List<DataBeanX> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBeanX> getData() {
        return data;
    }

    public void setData(List<DataBeanX> data) {
        this.data = data;
    }

    public static class DataBeanX implements MultiItemEntity{
        /**
         * id : 16
         * name : 遗鸥
         * data : [{"id":1,"title":"读书嘛","img":"http://p6v1jnan6.bkt.clouddn.com/FsiDl41m-gazXvfN5Xtta9dByTJT","create_time":0}]
         */

        private int id;
        private String name;
        private List<DataBean> data;
        private int type;
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }


        public void setType(int type) {
            this.type = type;
        }

        @Override
        public int getItemType() {
            return type;
        }

        public static class DataBean {
            /**
             * id : 1
             * title : 读书嘛
             * img : http://p6v1jnan6.bkt.clouddn.com/FsiDl41m-gazXvfN5Xtta9dByTJT
             * create_time : 0
             */

            private int id;
            private String title;
            private String img;
            private int create_time;
            private String money;

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }
        }
    }
}
